#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<stdlib.h>
#include<pthread.h>
#include<time.h>
#include<sys/types.h>
#include <unistd.h>
#include <sys/syscall.h>
#include<stdatomic.h>

int main(){
    int a = 10;
    int b = 0;
    int c=  1;
    int ret;
    ret = atomic_compare_exchange_strong(&a, &b, c);
    printf("a = %d, b = %d, c = %d\n", a, b, c);
    return 0;
}